#include<stdio.h>
int main ()
{
	int a=1,b=2,c;
	
	scanf("%d,%d",&a,&b);
	c=a;
	a=b;
	a=c;
	printf("%d,%d",a,b); 
	
	
	 
}
